package com.sky.mapper.user;

import com.sky.entity.Setmeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository("userSetmealMapper")
public interface SetmealMapper {
    

    List<Setmeal> selectSetmeal(Long categoryId);

    @Select("select count(id) from setmeal where status = #{status} ")
    Integer overviewSetmeals(Map<String, Integer> statusMap);
}
